<template>
	<view class="content">
		<web-view :src="webViewSrc"></web-view>
		<!-- <web-view src="https://mp.weixin.qq.com/s/dldzk3vbwL71hP7EOBd8NQ"></web-view> -->
	</view>
</template>

<script>
	export default {
		data() {
			return {
				webViewSrc: ''
			}
		},
		onLoad(options) {
			this.webViewSrc=decodeURIComponent(options.url)
			console.log(this.webViewSrc,'xxx-')
			// this.webViewSrc=decodeURIComponent(options.src)
		},
		onShareAppMessage(){
			return {
			    title: '陶老师课程',
				path: `/pagesD/webView/index?url=${this.webViewSrc}`,
				query: 'url='+this.webViewSrc
			}
		},
		onShareTimeline(){
			return {
			    title: '陶老师课程',
				query: 'url='+this.webViewSrc
			}
		},
		methods: {
			
		}
	}
</script>

<style lang="scss" scoped>
	.content{
		min-height: 100vh;
	}
</style>
